Automatic on off street light